By instantiating a new TDataContext, this inversion control method handles the request to create the underlying Linq to SQL data context.

Namespace: Keystone.Carbonite.Linq
Assembly: Keystone.Carbonite.Linq (in Keystone.Carbonite.Linq.dll)

protected override TDataContext OnCreateDataContext( 
DataContextCreationArgument[] dataContextCreationArguments 
)
This language is not supported or no code example is available.

Parameters

dataContextCreationArguments

Type: DataContextCreationArgument[]

The data context creation arguments received from the CarboniteController method.

Return Value

The underlying Linq to SQL data context.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono